import server from "../util/request.js";

// 搜索客户
export function searchCustomer(name) {
    return server({
        url: `/customer/findCustomerByName/${name}`,
        method: "GET"
    })
}

// 获取客户列表
export function findCustomerAll() {
    return server({
        url: "/customer",
        method: "GET"
    })
}